#!../common/bats/bin/bats
# -*-sh-*-

load ../common/test_helper_functions || exit 1
source ../common/functions || exit 1

if [ -s ../TEST_ENV ];then
    source ../TEST_ENV
fi

check_rms

@test "[pdsh] check for RPM" {
    run check_if_rpm_installed "pdsh${DELIM}"
    assert_success
}

@test "[pdsh] run a shell command on c[1-4]" {
    run pdsh -w c[1-4] 'grep . /proc/sys/kernel/ostype'
    assert_success
}




